package com.xiaoming.backend.service;

import com.xiaoming.backend.dto.request.TaskRequest;
import com.xiaoming.backend.dto.response.TaskResponse;
import com.xiaoming.backend.entity.orm.User;

import java.util.List;

public interface ITaskService {
    List<TaskResponse> findTasks(User user, TaskRequest taskRequest);

    String startTask(User user, TaskRequest taskRequest);

    int finishTask(User user, TaskRequest taskRequest);
}
